package com.ruoyi.bantong.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 版通申请对象 bt_placecard_apply
 * 
 * @author laohei
 * @date 2021-01-26
 */
public class BtPlacecardApply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Integer paId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Integer userId;

    /** 机构ID */
    @Excel(name = "机构ID")
    private Integer orgId;

    /** 席位池ID */
    @Excel(name = "席位池ID")
    private Integer ppId;

    /** 状态 0待审核 1审核完成 2驳回 */
    @Excel(name = "状态 0待审核 1审核完成 2驳回")
    private Integer status;

    /** 等级 */
    @Excel(name = "等级")
    private Integer level;

    /** 兑换金额 */
    @Excel(name = "兑换金额")
    private Integer convertMoney;

    /** 已交保证金 */
    @Excel(name = "已交保证金")
    private Integer earnestMoney;

    /** 中奖获得奖券 */
    private Integer ticketNum;

    /** 核销凭证 */
    @Excel(name = "核销凭证")
    private String voucher;

    /** 备注 */
    @Excel(name = "备注")
    private String memo;

    /** 过期时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "过期时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date outTime;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applyTime;

    /** 申请开始时间 */
    private Date applyStartTime;

    /** 申请结束时间 */
    private Date applyEndTime;

    /** 用户标识 */
    @Excel(name = "用户标识")
    private String userCard;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 头像 */
    @Excel(name = "头像")
    private String avatar;

    public Integer getOrgId() {
        return orgId;
    }

    public void setOrgId(Integer orgId) {
        this.orgId = orgId;
    }

    public void setPaId(Integer paId)
    {
        this.paId = paId;
    }

    public Integer getPaId() 
    {
        return paId;
    }
    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setPpId(Integer ppId) 
    {
        this.ppId = ppId;
    }

    public Integer getPpId() 
    {
        return ppId;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setLevel(Integer level) 
    {
        this.level = level;
    }

    public Integer getLevel() 
    {
        return level;
    }
    public void setConvertMoney(Integer convertMoney) 
    {
        this.convertMoney = convertMoney;
    }

    public Integer getConvertMoney() 
    {
        return convertMoney;
    }
    public void setVoucher(String voucher) 
    {
        this.voucher = voucher;
    }

    public String getVoucher() 
    {
        return voucher;
    }
    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }
    public void setOutTime(Date outTime) 
    {
        this.outTime = outTime;
    }

    public Date getOutTime() 
    {
        return outTime;
    }

    public String getUserCard() {
        return userCard;
    }

    public void setUserCard(String userCard) {
        this.userCard = userCard;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Integer getEarnestMoney() {
        return earnestMoney;
    }

    public void setEarnestMoney(Integer earnestMoney) {
        this.earnestMoney = earnestMoney;
    }

    public Date getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(Date applyTime) {
        this.applyTime = applyTime;
    }

    public Date getApplyStartTime() {
        return applyStartTime;
    }

    public void setApplyStartTime(Date applyStartTime) {
        this.applyStartTime = applyStartTime;
    }

    public Date getApplyEndTime() {
        return applyEndTime;
    }

    public void setApplyEndTime(Date applyEndTime) {
        this.applyEndTime = applyEndTime;
    }

    public Integer getTicketNum() {
        return ticketNum;
    }

    public void setTicketNum(Integer ticketNum) {
        this.ticketNum = ticketNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("paId", getPaId())
            .append("userId", getUserId())
            .append("ppId", getPpId())
            .append("status", getStatus())
            .append("level", getLevel())
            .append("convertMoney", getConvertMoney())
            .append("voucher", getVoucher())
            .append("memo", getMemo())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("outTime", getOutTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
